package com.zhoukx.strategy.improve;

public class PekingDuck extends Duck {

    public PekingDuck() {
        flyBehavior = new NoFlyBehavior();
    }

    @Override
    public void display() {
        System.out.println(" 北京鸭 ");
    }
    // 因为北京鸭不能飞翔所以需要重写fly


}
